package interfacetest;

public class StaticFilter {
	public static TestInterface tInterf;
	
	public static void setTestInterface(TestInterface test){
		StaticFilter.tInterf=test;
	}
	
	
	public static void test1(){
		if(tInterf!=null){
			tInterf.print();
			return;
		}
		System.out.println("test1");
	}
	

	public static void test2(){
		if(tInterf!=null){
			tInterf.print();
			return;
		}
		System.out.println("test2");
	}
	
}
